-- 关卡1
local gate = { }

-- 系统生产阳光间隔
gate.system_sun_interval = 10

-- 统一使用小写名称，以便找到图片资源和配置文件，如果需要类名，可通过配置文件来得到

-- 可用植物
gate.plants = { "sunflower", "peashooter" }
-- 可用僵尸
gate.zombies = { "zombie_1", "zombie_2" }

-- 植物卡位数（可选多少个植物）
gate.plant_card_count = 6

-- 僵尸
gate.attack_waves = {
	{
		-- 延迟时间
		wave_times = 15,
		-- 一个僵尸数据:名称-轨道-延迟出现
		{ name = "zombie_1", track = 3, delay = 0 }
	},
	{
		wave_times = 40,
		{ name = "zombie_1", track = 2, delay = 0 },
		{ name = "zombie_2", track = 5, delay = 3 }
	},
	{
		wave_times = 60,
		{ name = "zombie_1", track = 1, delay = 0 },
		{ name = "zombie_2", track = 4, delay = 5 },
		{ name = "zombie_1", track = 3, delay = 0 },
		{ name = "zombie_1", track = 4, delay = 0 },
		{ name = "zombie_2", track = 5, delay = 6 }
	}
}

-- 通关奖励
gate.award = "potatomine"

return gate
